package com.teasale.mapper;

import com.teasale.entity.Order;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.teasale.vo.OrderGoodsOV;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author water003
* @description 针对表【order】的数据库操作Mapper
* @createDate 2023-06-06 23:13:52
* @Entity com.teasale.entity.Order
*/
@Mapper
public interface OrderMapper extends BaseMapper<Order> {


     List<OrderGoodsOV> selectAllByUserId(@Param("userId") Integer userId);
     List<OrderGoodsOV> selectAllOrder(String id);



}




